<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>Nuova Istanza ricerca</title>
	<link rel="stylesheet" type="text/css" href="../styles/style.css" />
</h:head>
<h:body>
<div id="container">
<div id="box">

<header class="banner">
<span id="titoloPagina"> Inserisci i dati per la ricerca </span>
</header>

<div id="externalborder1">
<p:spacer height="40px" />

<h:form>
<div id="externalborderTab"><!-- <div id="externalborderReg> -->
	
	<h:panelGrid columns="3" id="selezionaCittaENome" style="margin-left:499.5px/*75.5px*/; margin-right:499.5px/*75.5px*/">
						
				<p:outputLabel for="nome">Nome:</p:outputLabel>
				<p:inputText id="nome" value="#{creaIstanze.nome}" placeholder="Nome (o parti di esso)"/>
				<p:message for="nome" display="icon" />
				
				<p:outputLabel for="luogo">Città:</p:outputLabel>
				<p:inputText id="luogo" value="#{creaIstanze.luogo}" required="true" placeholder="Città"/>
				<p:message for="luogo" display="icon" />			

			</h:panelGrid>
			
			<p:spacer height="40px"/>

 <div id="columnBox" style="margin:0px auto; width:70%">
	
	<div id="column1" style="float:left; margin:0; margin-left:107px/*111.5px*/;">
<a id="registerlink" href="creaIstanza.xhtml">
					<div class = "button" id = "indietro">
						Indietro
					</div>
				</a>
</div>

<div id="column2" style="float:left; margin:0;/*margin-left:111.5px;*/">
<div class="padder" id="padder">
</div>
</div>

<div id="column3" style="float:left; margin:0;/*margin-left:111.5px;*/">
	<div id="registerButton">
<h:commandLink id="registerlink" action="#{creaIstanze.ricercaEsc()}" update="selezionaCittaENome">
<div class="button" id="register">
Ricerca Escursione
</div>
</h:commandLink>
</div>

				</div>
				</div>


<!-- 
<div id="registerButton2">
<h:commandLink id="registerlink" action="#{creaIstanze.ricercaEsc()}" update="selezionaCittaENome">
<div class="button" id="register">
Ricerca Escursione
</div>
</h:commandLink>
</div>-->
</div>
</h:form>
		
</div>
</div>
<div id="push">
</div>
</div>

<div id="footer">
<h:button id="homepage" value="Homepage" outcome="index.xhtml"></h:button>
</div>

</h:body>
		

</html>